package com.scjp.chapter3.stack_heap_example;

public class Collar {

	int val = 2;
	String string = "hello";
	
	public Collar() {
		super();
	}
	
	public Collar(String s) {
		this.setText(s);
		System.out.println(s);
	}
	
	private void setText(String text) {
		this.string = text;
	}
	
}
